import { post } from '@/utils/request'

export default {
  groupPageList: query => post('/api/admin/groups/findAll/Condition', query),
  changeStatus: id => post('/api/admin/groups//updateStatus/' + id),
  deleteUser: id => post('/api/admin/groups/delete/' + id),
  selectGroup: id => post('/api/admin/groups/findById/' + id),
  insertGroup: query => post('/api/admin/groups/insert', query),
  groupUserLIst: query => post('/api/admin/groups/findGroupsMember', query),
  deleteGroupUser: query => post('/api/admin/GroupsRelationship/delete', query),
  addGroupUser: params => post('/api/admin/GroupsRelationship/insert', params),
  selectUserallProgress: id => post('/api/admin/user/allProgress/' + id),
  selectUserProgress: id => post('http://localhost:8000/api/admin/user/progress/' + id)
}
